//
//  MapController.h
//  BonBon
//
//  Created by Infindo Eric on 09-12-25.
//  Copyright 2009 苏州. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <MapKit/MKMapView.h>

@interface MapController : UIViewController <MKMapViewDelegate,CLLocationManagerDelegate>{
	MKMapView *mapView;
	
	NSMutableArray* mapListArray;
	CLLocationManager* locationManager;	
	CLLocation* userCurrentLocation;
	
	float tempLatitude;
	float tempLongitude;
	NSString *destination;
}
@property (nonatomic,retain)MKMapView *mapView;
@property (nonatomic,retain)NSMutableArray* mapListArray;
@property (retain,nonatomic) CLLocation* userCurrentLocation;
@property (retain,nonatomic) CLLocationManager* locationManager;	

- (void)setMapByLatitude:(float)lat longitude:(float)lng shopName:(NSString *)name;
- (void)setMapByList:(NSArray *)array;

- (void)mapPinDetailPressed:(id)sender;
-(void) showGoogleMap;

@end
